<template>
  <div class="app-container">
    aaa
  </div>
</template>

<script>
import initData from '@/mixins/initData'
import { AES, enc, mode, pad } from 'crypto-js'
export default {
  name: 'Setting',
  mixins: [initData],
  data() {
    return {
      tableData: [],
      initMethod: 'loadData',
      isAdd: false,
      delLoading: false
    }
  },
  created() {
    this.init()
  },
  methods: {
    loadData() {
      // createError(this.queryParams).then(res => {
      // const data = res.data

      // this.dleChangePage(data.list.length === 0)
      // this.pagination.total = data.total
      // this.tableData = data.list
      // })
      var getResultsStr = enc.Hex.parse('5605B05203251F0D7CA79535CA1D6FA674436BC1CA24229ECC9B908FD24ACB95')
      var str = enc.Base64.stringify(getResultsStr)
      var decrypted = AES.decrypt(str, enc.Utf8.parse('qnloft.com/blog/'), { iv: enc.Utf8.parse('qnloft.com/ppt/1'), mode: mode.CBC, padding: pad.Pkcs7 })
      // var results = JSON.parse(decrypted.toString(enc.Utf8))
      console.log(decrypted.toString(enc.Utf8))
    }
  }
}
</script>

<style>

</style>
